﻿<?xml version="1.0" encoding="utf-8" ?>
<FieldTypes>
  <FieldType>
   
    <Field Name="TypeName" DisplayName="TypeName">NumberToTextField</Field>
    <Field Name="ParentType">Text</Field>
    <Field Name="TypeDisplayName">Turns the a number stored in another field into a textual format</Field>
    <Field Name="TypeShortDescription">Turns a number to text</Field>
    <Field Name="UserCreatable">TRUE</Field>
    <Field Name="ShowInListCreate">FALSE</Field>
    <Field Name="ShowInSurveyCreate">FALSE</Field>
    <Field Name="ShowInDocumentLibraryCreate">FALSE</Field>
    <Field Name="ShowInColumnTemplateCreate">FALSE</Field>
    <Field Name="AllowBaseTypeRendering">TRUE</Field>
    <Field Name="FieldTypeClass">NumberToTextField.NumberToTextField, NumberToTextField, Version=1.0.0.0, Culture=neutral, PublicKeyToken=20f8a146ba0ff950</Field>
    <Field Name="FieldEditorUserControl">/_controltemplates/NumberToTextFieldEditor.ascx</Field>
    <PropertySchema>
      <Fields>        
        <Field Name="QuantityColumn" Hidden="TRUE" DisplayName="Quantity Column" Type="Text">
          <Default />
        </Field>

        <Field Name="LocaleColumn" Hidden="TRUE" DisplayName="Locale Column" Type="Text">
        
        </Field>
        
      </Fields>
    </PropertySchema>
    <FieldRefs>
      <FieldRef Name="QuantityColumn"/>
      <FieldRef Name="LocaleColumn"/>
      
    </FieldRefs>

    <!--<RenderPattern Name="DisplayPattern" DisplayName="DisplayPattern">
      <Column HTMLEncode="TRUE" AutoHyperLink="TRUE" AutoNewLine="TRUE" />
    </RenderPattern>-->
    <RenderPattern Name="DisplayPattern">
      <HTML>
        
        <Column HTMLEncode="TRUE" />
      </HTML>
    </RenderPattern>



  </FieldType>
</FieldTypes>